<?php

class Grape {

    public static function headTitleDesc($title, $description = null) {
        return '
            <div class="grid_12">
                <h1>' . $title . '</h1>
                <p>' . $description . '</p>
            </div>
';
    }

    public static function renderLeftMenu($imageUrl, $linkUrl, $text) {
        return '<li>' .
                CHtml::link(
                        CHtml::image(Yii::app()->theme->baseUrl . '/views/layouts/' . $imageUrl) . $text, $linkUrl) .
                '</li>
            ';
    }

//    public static function formText
}

?>
